package kr.ac.kongju.gedl.index.vo;

public class IndexInfoVO {
	private String indexId = "";	//색인어ID
	private String types = "";		//색인어유형 
	private String indexWord = "";	//색인어
	private String uci = "";		//UCI
	private String gis = "";		//GIS
	private String url = "";		//URL
	private String note = "";		//비고
	private int indexLevelCount = 0;//색인어에 해당하는 기사수
	public IndexInfoVO() {
		super();
	}
	public IndexInfoVO(String indexId) {
		super();
		this.indexId = indexId;
	}
	public String getIndexId() {
		return indexId;
	}
	public void setIndexId(String indexId) {
		this.indexId = indexId;
	}
	public String getTypes() {
		return types;
	}
	public void setTypes(String types) {
		this.types = types;
	}
	public String getIndexWord() {
		return indexWord;
	}
	public void setIndexWord(String indexWord) {
		this.indexWord = indexWord;
	}
	public String getUci() {
		return uci;
	}
	public void setUci(String uci) {
		this.uci = uci;
	}
	public String getGis() {
		return gis;
	}
	public void setGis(String gis) {
		this.gis = gis;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	
	public int getIndexLevelCount() {
		return indexLevelCount;
	}
	public void setIndexLevelCount(int indexLevelCount) {
		this.indexLevelCount = indexLevelCount;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((indexId == null) ? 0 : indexId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		IndexInfoVO other = (IndexInfoVO) obj;
		if (indexId == null) {
			if (other.indexId != null)
				return false;
		} else if (!indexId.equals(other.indexId))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("IndexInfoVO [gis=");
		builder.append(gis);
		builder.append(", indexId=");
		builder.append(indexId);
		builder.append(", indexWord=");
		builder.append(indexWord);
		builder.append(", note=");
		builder.append(note);
		builder.append(", types=");
		builder.append(types);
		builder.append(", uci=");
		builder.append(uci);
		builder.append(", url=");
		builder.append(url);
		builder.append("]");
		return builder.toString();
	}
	
}
